﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FalconSystemAndroidProtocol.Models
{
    public class ObjectResult<T> where T : class
    {
        public string code { get; set; }
        public string description { get; set; }
        public string descriptionDetail { get; set; }
        public bool isSuccessful { get; set; }
        public T data { get; set; }

        public ObjectResult()
        {
            this.code = "00";
            this.description = String.Empty;
            this.descriptionDetail = String.Empty;
            this.isSuccessful = true;
        }
    }
}